Get OleAutoArgs

OleAutoArgs has a put function but no get. Is it possible to loop through an OleAutoArgs array and get the data out of it?
SystemAdmin - Mon Jul 05 08:26:40 EDT 2010

Re: Get OleAutoArgs
Mathias Mamsch - Tue Jul 06 01:44:13 EDT 2010

Normally you would not be able to. But you could use a technique called hooking to get around that.
What you will do is override the put(OleAutoArgs, ...) functions by your own function which will store the arguments to a skip list. Then you can use this skip list for getting the arguments.

I demonstrated the same for the titles of a listview columns (which you are normally not able to read) in this post.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS